@function z($elm) {
  @return index($z-indexes, $elm);
}